package com.peanut.baby.mvp.main;

import com.peanut.baby.model.PTag;
import com.peanut.baby.model.User;
import com.peanut.baby.mvp.BasePresenter;
import com.peanut.baby.mvp.BaseView;

import java.util.List;

/**
 * Created by anonymouslystudio on 2017/8/22.
 */

public interface ProfileFragmentContract {
    interface View extends BaseView{
        void OnSelfInfoGet(User user);
        void onGetInfoFailed(String reason);
        void onSharePointSuccess(String tips);
        void onSubscribedTagsGet(boolean success, List<PTag> tags, String failReason);
    }

    interface Presenter extends BasePresenter{
        void getSelfInfo();
        void sharePoint();
        void getSubscribedTags();
    }
}
